<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="js/vue.js"></script>
</head>
<body>
    <div id="app">
        <table border="1" cellpadding="5" cellspacing="0">
            <tr>
                <td>工号</td>
                <td>姓名</td>
                <td>年龄</td>
                <td>学历</td>
                <td>电话</td>
            </tr>
            <tr v-for="emp in empList">
                <td>{{emp.empno}}</td>
                <td>{{emp.ename}}</td>
                <td>{{emp.age}}</td>
                <td>{{emp.education}}</td>
                <td>{{emp.phone}}</td>
            </tr>
        </table>
    </div>
</body>
</html>
<script>
    var vm=new Vue({
        el:'#app',
        data:{
            empList:[
                {empno:7369,ename:'李康欣',age:21,education:'本科',phone:'13324567890'},
                {empno:7368,ename:'杨瑞',age:22,education:'本科',phone:'13324567891'},
                {empno:7367,ename:'李瑞',age:23,education:'本科',phone:'13324567892'},
                {empno:7366,ename:'陈俊',age:24,education:'本科',phone:'13324567893'},
                {empno:7365,ename:'吕若凡',age:22,education:'本科',phone:'13324567894'}
            ]
        }
    });
</script>